package com.lyf.viewapp.list.stickydecoration;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.lyf.viewapp.R;

/**
 *
 */
public class StickyDecorationActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_sticky_decoration);
    }

    public void toSticky(View view) {
        startActivity(new Intent(this, StickyRecyclerViewActivity.class));
    }

    public void toStickyGrid(View view) {
        Intent intent = new Intent(this, StickyRecyclerViewActivity.class);
        intent.putExtra("type", "grid");
        startActivity(intent);
    }

    public void toPowerfulSticky(View view) {
        startActivity(new Intent(this, PowerfulStickyRecyclerViewActivity.class));
    }

    public void toPowerfulStickyGrid(View view) {
        Intent intent = new Intent(this, PowerfulStickyRecyclerViewActivity.class);
        intent.putExtra("type", "grid");
        startActivity(intent);
    }

    public void toPowerfulSticky2(View view) {
        startActivity(new Intent(this, BeautifulRecyclerViewActivity.class));
    }
}
